import request from '@/utils/request'
const baseUrl = '/statistics/statisticsDaily' 
export default {
    /**
     * @returns 
     */
     registerCount(day) {
        return request({
            url:  baseUrl + `/registerCount/${day}`,
            method: 'post',
        })
    },

    /**
     * 统计图标数据
     * @returns 
     */
     showData(searchObj) {
        return request({
            url:  baseUrl + `/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get',
        })
    },
}